In [4]:
print("Hello, world!")


Hello, world!

In [ ]:
x = "Hello, world!"
y = "Goodbye!"
print(x, y)

In the boxes above, I wrote my first program. It was cool!

We can write mathematics, like $\sqrt{x^2 + y^2} = z$.

This is a bullet list:

  • item 1
  • item 2
  • item 3

In [8]:
?max

In [7]:
max(1, 2, 99, 2)


Out[7]:
99

In [9]:
2/3


Out[9]:
0.6666666666666666

In [10]:
2/3.0


Out[10]:
0.6666666666666666

In [15]:
%matplotlib inline
import matplotlib.pyplot as plt

In [16]:
title = "Name of my plot"

In [17]:
plot(range(10))
plt.title(title)


Out[17]:
<matplotlib.text.Text at 0x107497748>

In [ ]: